Free online tool

Free Online CSV to Excel Converter

Turn a CSV or pasted table into a real Excel workbook with typed numbers, dates, a frozen header and filters. It runs in your browser, so nothing is uploaded.

CSV to Excel ConverterFree online tool. Runs in your browser.
Live

A CSV file is the plainest way to move a table between programs, but opening one in a spreadsheet often goes wrong. Leading zeros vanish, long numbers turn into scientific notation, accented letters become garbage and dates flip between day-first and month-first. This converter reads your CSV in the browser, lets you decide how each value should be treated, and writes a proper Excel workbook with the .xlsx extension. Your data is not uploaded.

The problems it avoids

When a spreadsheet program opens a CSV directly, it guesses. Most of the classic complaints come from those guesses:

Problem What happens when guessing What this tool does
Codes such as 007 or 0120 Leading zeros are dropped Keeps them as text
Long ID numbers Shown as 9E+18 and digits are lost Anything over 15 digits stays text
Accents and non-Latin text Shown as broken symbols Reads and writes UTF-8 correctly
Semicolon-separated files Everything lands in one column Detects comma, semicolon, tab or pipe
Text starting with = May run as a formula Always written as plain text

How to convert a file

  1. Choose a CSV, TSV or text file of up to 25 MB, or paste the text into the box.
  2. Check the detected separator and the preview of the first rows.
  3. Say whether the first row is a header.
  4. Choose how values are converted: numbers and percentages, plus ISO dates, or keep everything as text.
  5. Pick extras such as a frozen header row, bold header, filter buttons and column widths.
  6. Press the download button to get your .xlsx file.

How values are read

With conversion on, a cell is turned into a number only when it is clearly one: an optional minus sign, digits with no leading zero, and an optional decimal part, up to 15 digits in total. A value such as 12.5% becomes the number 0.125 shown with a percent format. With the date option on, text in the form 2025-03-01 becomes a real date, while an impossible date such as 2025-02-30 is left as text, so nothing is silently changed to a wrong day. Everything else, including codes, phone numbers and mixed text, stays as typed.

A worked example

Take a file with the columns Item, Quantity, Unit price, Share, Order date and Code. The row for a blue pen has a comma inside its name, so it is wrapped in quotes in the CSV. After conversion, the name appears whole in one cell, the quantity 10 and price 1.5 are numbers you can add, the share 12.5% is stored as 0.125, the date is a true date, and the code 007 still reads 007. A value of =1+1 in the name column stays as the literal text =1+1 and is never calculated.

Why formulas are never written

Spreadsheets can run formulas, and attackers sometimes hide harmful instructions in CSV files, hoping that a person opens the file and the program executes them. This tool avoids that class of problem by design. Every text cell is stored as inert text, and the workbook contains no formula elements at all. If you later want real formulas, add them yourself in your spreadsheet program once you trust the data.

Limits

An Excel sheet can hold 1,048,576 rows and 16,384 columns, and one cell can contain up to 32,767 characters. If your data exceeds those figures, the tool cuts it at the limit and tells you. The file is written without compression, which keeps the code simple and the format valid, so very large files may be bigger than the same data saved in Excel. Number formats for currencies, custom date styles and multiple sheets are not included; apply those in your spreadsheet program.

When the data starts as a web or code format, the JSON formatter and validator can tidy it first. For the next step in a spreadsheet, the Excel formula helper builds the formulas, and the text comparison tool highlights differences between two exports. The guide to Microsoft Excel for beginners and the Excel course cover what to do with the finished workbook.

After the conversion

Open the workbook and check three things before you rely on it: that the number of rows matches your source, that the columns line up under the right headers, and that any codes still look the way they did. Sort and filter a copy first, not the only copy, and keep the original CSV as a record. If you plan to share the file, remove any columns with personal details that the recipient does not need, and save it under a clear name with a date, so that later versions are easy to tell apart.

Key takeaways

  • The tool detects commas, semicolons, tabs and pipes, and reads UTF-8 text.
  • Codes with leading zeros and very long numbers stay as text so digits are never lost.
  • Text such as =1+1 is saved as text, never as a formula.
  • Freeze the header and add filters in one step.
  • Your file is converted on your device and not uploaded.

Questions

How do I convert a CSV file to Excel?

Choose your CSV file or paste its text, check the preview, pick the options you want and press the download button. You receive an .xlsx workbook that opens in Excel, LibreOffice and Google Sheets. The conversion happens in your browser, so the file is never sent to a server.

Why do my leading zeros disappear in Excel?

When a program opens a CSV, it guesses that 007 is the number 7 and drops the zeros. This converter keeps any value with a leading zero as text, so codes such as 007 or 0120 stay exactly as you typed them. Very long numbers beyond fifteen digits are also kept as text.

Can it handle semicolon or tab separated files?

Yes. It detects commas, semicolons, tabs and pipes automatically by looking at the first lines, and you can also choose the separator by hand. Quoted values that contain the separator, or even line breaks, are read correctly, as the CSV standard describes.

Is it safe to open files from other people?

The tool never writes formulas. Every text value is stored as plain text, so a cell such as =1+1 will not run when you open the workbook. You should still be careful with files from strangers, and your spreadsheet program may show its own warnings.

Why are accented letters shown correctly?

The tool reads text as UTF-8 and writes it the same way inside the workbook, so letters such as é, ü and characters from other scripts survive. If a file was saved in an older encoding, the preview will show odd symbols, and you should re-save the source as UTF-8 first.